<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');
?>
<script type="text/javascript">
<!--
$(function(){
	$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
	$("#name").formValidator({onshow:"请输入职位名",onfocus:"职位名称不能为空"}).inputValidator({min:1,max:30,onerror:"职位名称不能为空"});
	$("#deptid").formValidator({onshow:"请选择部门"}).inputValidator({min:1,onerror:"请选择部门"});			
})
//-->
</script>
<div class="pad_10">
<div class="common-form">
<form name="myform" action="?m=admin&c=project&a=add" method="post" id="myform">
<table width="100%" class="table_form contentWrap">
<tr>
<td  width="80">项目组名称</td> 
<td><input type="text" name="info[name]" value="" class="input-text" id="name"></input></td>
</tr>

<tr>
<td>归属部门</td> 
<td><?php echo form::rselect($deptlist,'id','name', '', 'name="info[deptid]" class="select-box select-w01"', '选择部门');?></td>
</tr> 
<tr>
<td>项目经理</td> 
<td><input type="text" name="info[uid]" value="" class="input-text" id="uid"></input></td>
</tr>
<tr>
<td>状态</td> 
<td><label>
  <input name="info[status]" type="radio" id="radio" value="1" checked="checked">正常</label>
  <label>
    <input type="radio" name="info[status]" id="radio2" value="0">
    解散 </label></td>
</tr>
<tr>
<td>成员</td> 
<td><div style="height:110px;">成员成</div></td>
</tr>

<tr>
<td>备注</td> 
<td><input type="text" name="info[memo]" id="extention" class="input-text" size="20" value=""></input></td>
</tr> 


 
</table>

    <div class="bk15"></div>
    <input name="dosubmit" type="submit" value="<?php echo L('submit')?>" class="dialog" id="dosubmit">
</form>

</div></div>
</body>
</html>



